import * as types from './mutations-type'

export const initCanvas = function ({ commit }, payload) {
  commit(types.INIT_CANVAS, payload)
}

export const handleLayerChange = function ({ commit }, payload) {
  commit(types.LAYER_ON_CHANGE, payload)
}
